﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace telefonia
{
    public partial class Promocion : Form
    {
        public Promocion()
        {
            InitializeComponent();
            dgPromociones.DataSource = DataBase.GetReports("SELECT * FROM[dbo].[PromocionLlamada]");
        }

        private void bAgregar_Click(object sender, EventArgs e)
        {
            PromocionLLamadas pll = new PromocionLLamadas();
            pll.ShowDialog();
            dgPromociones.DataSource = DataBase.GetReports("SELECT * FROM[dbo].[PromocionLlamada]");
        }
    }
}
